home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 334_02 / readme < prev    next >
Text File  |  1991-02-04  |  12KB  |  319 lines

  1. The GNUPLOT source code and executables may be copied and/or modified
  2. freely as long as the copyright messages are left intact.
  3.  
  4. Compilation instructions are near the end of this file.
  5.  
  6. GNUPLOT has been tested on Sun3's and Sun4's (SunOS 4.0.3), a Pyramid
  7. 90x (OSx 4.0 - ucb 4.3 and att V), a VAX 6410 (VMS 5.2), IBM PC XT's
  8. and AT's (MS-DOS 3.3, Microsoft C 5.10 and Turbo C 2.0)), IRIS 4D/70G
  9. and 4D/25G with MIPS C, and NeXT with gnu C 1.34.  The code is written
  10. with portability in mind.
  11.  
  12. If you have problems, send mail to pixar!info-gnuplot@sun.com.  And
  13. please send any modifications you make so they can be considered for
  14. later releases.
  15.  
  16.  
  17.                      GNUPLOT 2.0 RELEASE NOTES
  18.  
  19. New terminal drivers: ATT6300, Roland DXY800A, EEPIC, emTeX, EPSON LX-800, 
  20. EPSON 60dpi, Fig, HP2648, HPGL, HP LaserJet, Imagen, Kermit-MS Tektronix 
  21. emulator, LaTeX, MCGA, NEC CP6 pinwriter, POSTSCRIPT, Proprinter, Star color 
  22. printer, Tandy DMP-130, Tektronix 410x, SUN, VGA, X11.
  23.  
  24. Additions:
  25.  
  26. Command-line arguments are accepted. They are treated as names of
  27. files containing gnuplot commands. Gnuplot loads them, one by one, and
  28. then exits.
  29.  
  30. Command 'plot' now has a 'title' option to change the information in
  31. the key.  The 'with' option can now specify line type and point type.
  32.  
  33. Command 'pause'.
  34.  
  35. Command 'replot' allows the addition of extra plots. 
  36.  
  37. Command 'save' now saves all the 'set' options, including the last
  38. plot command.
  39.  
  40. Command 'set autoscale' now accepts autoscaling on the x axis for data
  41. files. The default is autoscaling on both axes. 
  42.  
  43. Command 'set noclip' disables clipping of points near the border. 'set
  44. clip' reenables clipping. The default used to be 'clip', and is now
  45. 'noclip'. Clipping has also been extended to clip lines that extend
  46. outside the borders: line plots are now clipped at the plot boundary.
  47. Formerly, the line stopped at the last in-range data point.
  48.  
  49. Numerical labelling at tic marks on x and y axes.  Command 'set
  50. format' allows the format of the tic mark labels to be altered.
  51. Commands 'set xtics' and 'set ytics' allow for alphanumeric labels and
  52. arbitrary tic positions. 
  53.  
  54. Command 'set grid' adds a grid between the tic marks.
  55.  
  56. Improved key gives sample point or line types.  Key can be disabled
  57. with the 'set nokey'. Key can be positioned anywhere. 
  58.  
  59. Command 'set label' allows the placement of arbitrary text labels and
  60. arrows. 
  61.  
  62. Command 'set polar' for polar plots.
  63.  
  64. Command 'set offsets' for reducing the plotted area.  Useful for polar
  65. plots.
  66.  
  67. Command 'set size' scales the displayed size of the plot.
  68.  
  69. Command 'set tics out' causes the tics to be drawn outwards from the
  70. border.  Useful for impulse plots.
  71.  
  72. Command 'set title' places a text label above the plot.
  73.  
  74. Commands 'set xlabel' and 'set ylabel' place text labels on the x and
  75. y axes respectively.  Some terminals will place the y label vertically
  76. upwards on the left of the plot, others place the label horizontally
  77. at the left of the plot.
  78.  
  79. Improved tics on log scales.
  80.  
  81. Extended comments: comments are allowed anywhere reasonable in the
  82. input line, and continue to the end of the input line.
  83.  
  84. Line continuation (with \) is added.
  85.  
  86. Non-interactive use, through redirection or "load" command, is
  87. improved. Error messages expanded to include file name and line
  88. number, and to reprint command line if not interactive.
  89.  
  90. New plotting styles 'linespoints' and 'dots'.
  91.  
  92. Blank lines in data files denote "breaks". In lines and linespoints
  93. plot styles, this breaks the curve being drawn and begins at the next
  94. point, without changing the line or point types.
  95.  
  96. Completely new interactive help system that is similar to VMS help
  97. system. A printed manual can be obtained in LaTeX, troff, or nroff and
  98. is based on the same information as the interactive help.
  99.  
  100. PC version now compiles with the large model so that gnuplot will
  101. compile with the above additions!
  102.  
  103. Bug fixes include:
  104. ------------------
  105. Bug involving functions plotted on a logarithmic x axis is fixed. 
  106.  
  107. Errors inside of loaded files now clean up and close files properly.
  108.  
  109. Numbers of the form xxxxe+nn are now acceptable (+ sign caused error).
  110.  
  111. Tics are now place inside the borders (some were outside).
  112.  
  113. Reverse axes now work properly.
  114.  
  115. Command 'set output ""' used to crash.  
  116.  
  117. VMS was closing stdout, so 'set output' code changed to avoid closing
  118. it.  VMS version of gnuplot now performs a SET TERM/NOWRAP itself.
  119.  
  120. Terminal is now reset before closing output file, changing terminal
  121. type or exiting gnuplot.
  122.  
  123. Several old bugs have been superseded by new ones.
  124.  
  125.  
  126.                             ACKNOWLEDGEMENTS
  127.  
  128. The Unix PC, polar, pause, and offset additions were by John Campbell.
  129. (CAMPBELL@NAUVAX.bitnet)
  130. The Turbo C additions were by Bill Wilson.
  131. (WILSON@NAUVAX.bitnet)
  132. Some of the labelling improvements and combining of these additions 
  133. were by Russell Lang.
  134. (rjl@monu1.cc.monash.oz.au)
  135. The LaTeX driver, the help system, and some of the labelling
  136. improvements were by David Kotz. 
  137. (dfk@cs.duke.edu)
  138. And of course, the vast majority of the program is by Colin Kelley
  139. and Thomas Williams.
  140. (pixar!info-gnuplot@sun.com)
  141.  
  142.  
  143.                       GNUPLOT 1.1 RELEASE NOTES
  144.  
  145. New terminal drivers: AED 512, BBN BitGraph, HP2623, POSTSCRIPT,
  146. Selanar, Vectrix 384.  The PC version now supports Hercules and ATT
  147. 6300 monochrome graphics.  Thanks to those who sent these drivers in.
  148.  
  149. New commands: 'set dummy' and 'show dummy' to select the dummy
  150. variable name; 'replot' to repeat the last 'plot' command.
  151.  
  152. The exclamation point (!) is now accepted as postfix factorial
  153. operator.  The gamma() function is also included, if your C library
  154. has gamma().  See GAMMA below.
  155.  
  156. Logical AND (&&) and OR (||) now short-circuit the way they do in C.
  157. That is, the second && operand is not evaluated if the first is false;
  158. the second || operand is not evaluated if the first is true.  The
  159. ternary operator (?:) also does not evaluate the unused operand.  This
  160. change allows for the definition of recursive functions, e.g. a
  161. synonym for the ! factorial operator:
  162.  
  163.     fact(x) = (x<=1) ? 1 : x*fact(x-1)
  164.  
  165. GNUPLOT now has a much better memory allocation scheme, replacing most
  166. fixed-size arrays with malloc()'d linked lists.  There is no longer
  167. any artificial maximum on the number of simultaneous plots, number of
  168. points in those plots, or the number of user-defined functions or
  169. variables.  All these are limited only by the memory available to
  170. malloc().  This is a big improvement for memory-starved machines like
  171. PDP-11s or PCs.
  172.  
  173. Lines beginning with # (also ! in VMS) are treated as comments.  Only
  174. the $ may now be used for a shell escape in VMS, since ! is a comment.
  175.  
  176. Several old bugs have been superseded by new ones.
  177.  
  178.  
  179.                        PREPROCESSOR #DEFINES
  180.  
  181. These #defines should be checked before compilation:
  182. define      file            note
  183. ------      ----            --------
  184. VFORK       Makefile        define if you've got vfork() system call
  185. GAMMA       Makefile        define if you've got gamma(3)
  186. BCOPY       Makefile        define if your memcpy() is called bcopy()
  187. BZERO       Makefile        define if you have bzero() but not memset()
  188. NOCOPY      Makefile        define if you've don't have a memcpy() by any name
  189. bcopy()     plot.h          define if you've got a memcpy() by some OTHER name
  190.                               (see example in plot.h)
  191. PC          Makefile        define if compiling on a PClone
  192. MSDOS       Makefile        define if compiling under MSDOS;
  193.                               automatically defined by Microsoft C 5.10
  194. HELPFILE    Makefile        name including path of gnuplot.gih file.
  195. VERYLARGE   plot.h          define to be largest coordinate number.
  196. SHELL       plot.h          default shell to spawn if SHELL environment
  197.                               variable not found at run-time
  198.  
  199. Valid TERMFLAGS defines.  These defines are used to include the
  200. various plotting terminals, printers, and protocols that a given version
  201. of gnuplot can access:
  202.  
  203. define         file            note
  204. ------